import Vue from 'vue';
import Vuex from 'vuex';
import getters from './getters';
import user from "./modules/user";
import depart from "./modules/depart";
import common from "./modules/common";
import resource from "./modules/resource";
Vue.use(Vuex)
export default new Vuex.Store({
	modules: {
		common,
		user,
		depart,
		resource
	},
	getters
})